Part Number Hot Search : 
ZM2BG78W 05285229 HM10422 120N6 248YF UPD63310 Y5117 74286
Product Description
Full Text Search
 

To Download SC9308P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  sc9308 audio system control mcu with analog radio function qfp44-10 x10-0.8 description sc9308 is a soc based on silan?s 8-bit mcu sc65x for analog radio dfr control with low voltage low power consumption. built-in lcd driver which can drive max. 4x14 segments display, 31 configurable i/o ports and three 8-bit counters, two of which can be combined to achieve 16 timing length; built-in r eal time clock ensures the system uninterrupted counting when it is in sleep state; 11 interrupt sources, including four external interrupt s, enabling the system to respond quickly to internal or external events. multi-mode optional serial communication circuits greatly increas e the system's scalability. built-in 3.2mhz rc oscillator with external 75khz oscillator can achieve the perfect balance between power and speed. in high speed application, it can extend external high frequency crystal through pc.4/5 pin, maximum up to 6mhz. applications * widely applied in portable audio control system with lcd. ordering information part no. package marking sc9308 cob44 no SC9308P qfp-44-1010-0.8 SC9308P features * memory 384-byte data memory 8k-byte program memory (otp) * i/o configuration general-purpose i/o: 17 pins with pull up resistor; seg: also can be used as i/o. * lcd controller/driver drive 7 words display max. 14 seg x 4 com display mode: duty, bias can be programmable * 8-bit timer/counter t0/t1/t2 timing time can be set by program external events counting arbitrary clock frequency output t0/t1 can be 16-bit counter * operating voltage range: 3.0~3.6v * clock source external clock source: 75khz crystal built-in rc oscillator: 3.2mhz; extension crystal: 2~6mhz(v dd >2.4v@4mhz) * rtc year/month/day display provide bcd code data directly leap year auto adjust timing alarm * local oscillator frequency counting circuit local oscillator: fm frequency range: 30mhz~150mhz am frequency range: 0.5mhz~30mhz counter: 16-bit, gate time 1/4/8ms * built-in voltage reference v ref =1.23v 5% hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 1 of 17
sc9308 features (continued) * a/d converter 4-channels with 8-bit conversion precision external reference voltage selectable battery voltage monitor * uart serial communication interface 2-line asynchronous communication communication speed can be selected flexibly quick interrupt response * interrupt source 5 external interrupts, maskable 6 internal interrupts, maskable block diagram note: v pp pin can be diplexed as reset, when program the otp memory, this pin is connected to 12v voltage. hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 2 of 17
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 3 of 17 absolute maximum ratings characteristics symbol ratings unit supply voltage v dd -0.3~5.5 v input voltage (all the i/o pins) v i1 -0.3~v dd +0.3 v input voltage (reset) v i1 -0.3~v dd +0.3 v output voltage v o -0.3~v dd +0.3 v output high level current i oh -15 ma output low level current i ol 30 ma operating ambient temperature t amb -20~+75 c storage temperature t stg -40~+125 c electrical characteristics (unless otherwise specified, t amb =25 c,v dd =3.3v) characteristics symbol test conditions min. typ. max. unit operating voltage v dd 3.0 3.3 3.6 v i q1 osc 75khz stop, cpu clk stop 1 a quiescent current i q2 osc=75khz,cpu clk=75khz sleep (note 1) 5.5 a operating current i dd osc=75khz,cpu clk=3.2mhz, all the modules start 1.7 3.0 ma v ih1 pa/b/c 2.4 - input high voltage v ih2 pe/f 2.0 - v v il1 pa/b/c - 1.0 input low voltage v il2 pe/f (note2) - 1.0 v v oh1 v dd =3v,pa/b/c,i oh =-1ma 2.8 output high voltage v oh2 v dd =3v,pe/f,i oh =-1ma 2.5 v v ol1 v dd =3v,pa/b/c, ioh =1ma 0.2 output low voltage v ol2 v dd =3v,pe/f,i oh =1ma 0.2 v input high leakage current i lih v in =v dd , all the input pins 1 input low leakage current i lil vin=0v,all the input pins 1 a 75khz crystal oscillator feedback resistor r osc v dd =3.0v,x in =v dd , x out =0v 3000 6000 9000 k r l1 v dd =3.0v,v in (fm/am)=v dd 9 10.5 12 pull-down resistor r l2 v dd =3.0v,test = v dd 83 k r h1 v dd =3.0v,v in( =0,pa/b/c 25 pull-up resistor r h2 v dd =3.0v,v reset = 0 67 k note 1. only 75khz crystal oscillator and rtc are working. 2. cmos input, when input voltage is 1.6v , the state of read port is uncertain.
sc9308 pin configuration pb.0/ks0 pb.1/ks1 pa.1/int1 pa.0/int0 pa.2/int2 pa.3/int3 pa.4/tcl0 pa.5/tcl1 pa.6 pa.7/buz pb.2/ks2 pb.4/tclo0/txd pb.5/tclo1/rxd reset/vpp x in x out v dd fm test pc.1/adc1 pc.0/adc0 pc.5/adc5 pc.4/adc4 gnd am seg3/pe.3 seg4/pe.4 seg5/pe.5 com0 com1 com2 com3 seg7/pe.7 seg8/pf.0 seg9/pf.1 seg10/pf.2 seg11/pf.3 seg12/pf.4 seg6/pe.6 seg13/pf.5 avss seg0/pe.0 seg1/pe.1 seg2/pe.2 28 27 26 25 24 23 32 31 30 29 33 34 22 35 21 36 20 37 19 38 18 39 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 4 of 17 1 2 3 4 5 6 7 9 8 10 11 17 40 16 14 41 15 42 43 13 44 SC9308P 12
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 5 of 17 pin description pin no. pin name diplex pin i/o pin descriptions 1 pa.0 int0 2 pa.1 int1 3 pa.2 int2 4 pa.3 int3 5 pa.4 tcl0 6 pa.5 tcl1 7 pa.6 8 pa.7 buz 9 pb.0 ks0 10 pb.1 ks1 11 pb.2 ks2 12 pb.4 tclo0 13 pb.5 tclo1 i/o universal input / output; 8bit read/write; configurable bit operation. 14 pc.0 adc0 15 pc.1 adc1 i/o ad input universal input / output; configurable bit operation. 16 reset v pp system reset pin 17 gnd digital ground 18 x out o low frequency oscillator output 19 x in i low frequency oscillator input 20 v dd digital power supply 21 pc.4 adc4 22 pc.5 adc5 i/o ad input universal input / output; configurable bit operation. pc4/5 can also be used as high speed crystal interface; 23 test test enable pin, internal pull-down resistor 24 fm i fm signal input 25 am i am signal output 26 avss analog ground 27~30 com0~com3 o lcd display scan common signal 31~38 seg0~7 pe.0~7 i/o segments scan signal output, maximum output 4-bit data each pin. drive lcd screen together with com signal. can be as general-purpose input/output port. 39~44 seg8~seg13 pf.0~5 i/o segments scan signal output, maximum output 4-bit data each pin. drive lcd screen together with com signal. can be as common input/output port. (refer to lcd module description)
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 6 of 17 shared pin description pin no. shared pin i/o descriptions 12 txd o serial communication data output 13 rxd i serial communication data input 1-4 int0-int3 i external interrupt input 5 tcl0 i external counting pulse/clock input of timer 0 6 tcl1 i external counting pulse/clock input of timer 1 8 buz o buzzer signal output 9~11 ks0-ks2 i key scan input, can generate interrupt 12 tclo0 o frequency division output of timer 0 13 tclo1 o frequency division output of timer 1 16 vpp high voltage pin, when download otp, connects to 12v voltage 31~38 pe0~pe7 i/o general purpose i/o port porte 39~44 pf0~pf5 i/o general purpose i/o port portf 21 xin4m i high frequency crystal input 22 xout4m o high frequency crystal output function description sc9308 has embedded sc65x core and 8k-byte otp program memory, the data memory is 384-byte. built-in rc oscillator generates 3.2mhz clock frequency, and afte r 1/2,1/4 divided frequency, it can also be used as system main clock together with external 75khz crysta l or extended high speed clock by pc4/5 to implement applications in different modes, thus to maximize reduce the power consumption. the built-in counting circuit can count the local oscillator signal freq uency. in addition, it has three 8-bit counters t0/t1/t2. t0/t1 can be used separately and also be used as 16-bit counter. the built -in rtc module can provides powerful calendar/alarm functions, and provides 4 kinds of frequency bu z signals. pa/b/c/e/f can prov ide max. 31 i/o ports, where pa/b has pull-up configuration and select able open-drain output function, pc can be shared as adc analog pin of adc, pe/f can be used as lcd disp lay data scan output. lcd driver can drive seven 8-segment display in maximum, and bias voltage 1/3 and 1/2 are selectable, du ty is 1/2, 1/3, 1/4 progra mmable control to meet the various display requirements. mcu address space mcu uses 16-bit address bus, the maximum addressing space is 64-kbyte (0000h~ffffh). the address assignment of memory space is as follows:
sc9308 sfr: special function registers. this block includes system control, state r egister and the mapping of ports and display data block. register mapping table 0000h~007fh is assigned to i/o and some function registers. where 0000h~000fh is assigned to the core. function registers and i/o ports configuration of used address space is as follows: module register i/o address function descriptions used address space irqip w/r 00h maskable interrupt enable register irqdp w/r 01h maskable interrupt source register nmiip w/r 02h non-maskable interrupt enable register nmidp w/r 03h non-maskable interrupt source register intcon w/r 47h interrupt control register interrupt control nmi is not used in the circuit, reserved. forbid it by sen instruction of program. wdtcon w/r 04h watchdog timer setting and enable register wdt clr0 w 09h watchdog timer wdt clr1 w 0ah watchdog clear register (write 53h, ach to 09h 0ah, can clear wdt) mcu_slp w 06h mcu sleep control register mcu control mcu_status r 07h m cu state register bit operation control bitctrl w/r 08h bit operation address space selection register(refer to sc65x instructions for details) system control syscon w/r 45h system function control register clock control clkcon w/r 46h system clock control register block signal selection control clksel w/r 4bh block signal selection control register hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 7 of 17
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 8 of 17 module register i/o address function descriptions rtc_cs w/r 30h rtc control register yearh w/r 31h msb of year data(bcd: 00~99) second w/r 32h second data(bcd: 00~59) min w/r 33h minute data(bcd: 00~59) hour w/r 34h hour data(bcd: 00~23) day w/r 35h day data(bcd: 01~31) week w/r 36h week data(bcd: 0~6) mon w/r 37h month data(bcd: 01~12) yearl w/r 38h lsb of ye ar data(bcd: 00~99) min_alarm w/r 39h minute alarm setting hour_alarm w/r 3ah hour alarm setting day_alarm w/r 3bh day alarm setting week_alarm w/r 3ch week alarm time setting rtc data and control cko_cs w 3dh buz signal control t2con w/r 48h control register timer2 t2ref w/r 49h preassign register/capture register t0con w/r 4ch control register timer0 t0ref w/r 4dh preassign register t1con w/r 4eh control register timer1 t1ref w/r 4fh preassign register uart_buf_addr w/r 62h transmitting/receiving data buffer scon_addr w/r 63h uart control register brcon_addr w/r 64h baud rate control register uart brtimer_addr w/r 65h baud rate counting initial value setting register addata r 50h conversion result of 8-bit storage analog/digital converter adcon w/r 51h analog/digi tal control and state local oscillator amply pllcon w/r 52h local oscillat or input control register ifmod w/r 55h frequency counting mode control register ifcnt0 w/r 56h low 8-bit of frequency counting data frequency counter ifcnt1 w/r 57h high 8-bit of frequency counting data trisa w/r 59h direction control register of port a porta w/r 5dh data temporary storage register of port a trisb w/r 5ah direction control register of port b portb w/r 5eh data temporary storage register of port b trisc w/r 5bh direction control register of port c portc w/r 5fh data temporary storage register of port c port and direction control apcon w/r 5ch port and a/d input diplex selection control
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 9 of 17 module register i/o address function descriptions pua w/r 60h i/o port pull-up mode selection register pull-up configuration pub w/r 61h i/o port pull-up mode selection register porte w/r 68h data temporary storage register of port e portf w/r 69h data temporary storage register of port f seg diplex port refer to lcd module description for details. seg_ctrl0 w 6bh seg0~3 pin configuration register seg_ctrl1 w 6ch seg4~7 pin configuration register seg_ctrl2 w 6dh seg8~11 pin configuration register seg diplex control seg_ctrl3 w 6eh seg12~13 pin configuration register 68 69h unused lcdcon w 67h lcd control register lcdpwr w/r 66h lcd control register display ram lcdreg0 w/r 72h lcd display register 0 lcdreg1 w/r 73h lcd display register 1 lcdreg2 w/r 74h lcd display register 2 lcdreg3 w/r 75h lcd display register 3 lcdreg4 w/r 76h lcd display register 4 lcdreg5 w/r 77h lcd display register 5 lcdreg6 w/r 78h lcd display register 6 lcd interface control lcdreg7 w/r 79h lcd display register 7 interrupt control sc65x supports two kinds of interrupts: non-maskable interrupt nmi; maskable interrupt irq. where pri of non- maskable interrupt nmi is higher than maskable interrupt irq. however, this circuit does not implement nmi interrupt. 1. maskable interrupts sc9308 has 11 maskable interrupts in total without pri; se tting irqip register to determine if the interrupt is enable. all the maskable interrupts use the same entry address fff8h. 2. non-maskable interrupts(reserved) non-maskable interrupt nmi, active high. entry address is fffch/fffdh. this circuit does not implement nmi function. there is no need to set nmiip and nmidp registers. 3. external interrupts sc9308 has 4 io input interrupts extint0 3, input by pa0 3 pins; one is used for scan interrupt ksint, shares one interrupt source with extint2, corresponding to irqdp.6. extint3 and if interrupt irqifc share one interrupt source, corresponding to irqdp.7. in addi tion, rtc and timer2 share one interrupt source. watchdog timer watchdog timer adopts independent counter. watchdog (wdt) is mainly used for program monitor, after counting overflows, generates reset signal to avoid endless loop or other error execution state. when 75k crystal oscillator is operating, the longest overflow time is 873.6ms.
sc9308 operating mode control sc9308 work in three modes: normal mode, sleep mode, and data maintained mode. normal mode can be divided into high-speed mode and low-speed mode. their diffe rence is the system clock from different sources. the high speed mode system clock comes from internal rc oscillator or high speed oscillator extended by pc4/5, while the low speed mode system clock comes from external low speed oscillator. after power on, cpu clock is provided by internal rc os cillator. when this oscillator is working, the internal reference module is needed to open. select clock frequency or switch to the external low speed clock (75khz) by setting system control register and clock control register. the mcu enters sleep mode by setting sleep flag of mcu sl eep control register mcu_slp as 1. after the mcu enters sleep mode, external 75khz osci llator still works, and cpu clock will be turned off. but it can still response to internal timer interrupt or exte rnal io interrupt. the circuit enters sl eep mode which can reduce the system standby power dissipation (75khz crystal oscillator operating, when rtc enables at 3v operating voltage, typical power dissipation current <5 a). reset, internal or exter nal interrupt can wake up cpu and make it enter work in full speed. when system clock comes from external low speed oscillator, if this oscillator is closed by program, the circuit will enter data save mode. in this mode, ram data is sav ed. the dissipation current is reduced to less than 1ua. external io interrupt or reset can make the oscillator work again. note: the clock should be switch to 75khz before entering t he sleep mode. turn off the power reference circuit and other relative circuits to reduce the power dissipation. clock and reset sc9308 supports many selectable operating clocks. the cl ock source can be external 75khz crystal oscillator, and can also be the clock generated by internal rc oscillator. when need high precision and high speed application, it can extend high frequency external oscill ator through pc4/5. the structure is as follows: the system reset occurs when: internal watchdog counti ng overflows; external reset pin input low level. the circuit jumps to the start address of the program from reset addre ss fffah and begins working normally. sc9308 has built in rc oscillator, and fr equency of rc oscillator is about 3.2m hz when supply voltage is 3v. if you need to fast response to internal and external events without high precision, adopt rc oscillator as cpu clock to make the system process the events quickly. due to rc oscillator will vary following the voltage and temperature, pc4/pc5 must be used to extend high-speed oscillator to satisfy the system requirements under the conditions that need high-precision timi ng or asynchronous communication, etc.. rc oscillator begins to work after rese t, and cpu clock selects the rc oscillator. hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 10 of 17
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 11 of 17 real time clock (rtc) rtc module can provide powerful timing function. when it st arts, it will work separately from cpu. it can provide minute, hour and year/month/day, etc. in bcd formats . minute, hour, week, day alarm can be set, and the alarm function can be triggered by interrupt or inquiring the al arm flag by software. at the same time, it will generate 0.5s real time clock signal, which can trigger interrupt. th is interrupt shares one channel with alarm interrupt. it is used together with intcon register. at the same time , it provides 4 buz signals to driver the buzzer. timer t0/t1/t2 sc9308 includes three 8-bit timers timer0, timer1 and timer2. where, t0 and t1 timers can be together used as 16-bit timer. when t0 or t1 are used separately, their functions are as follows: ? 8-bit programmable timing, generate inte rrupt after setting the time interval ? arbitrary frequency output ? external clock frequency division t0/t1/t2 has one control register and one pre-assignment register. t2 timer has input capture except for t he similar functions as t0/t1. capture signal input are all diplex with pa6 pin. uart sc9308 has built-in full duplex async communication in terface. communication port with three modes: 8bit variable baud rate, 9bit fixed baud rate or variable baud rate communication. ? tx pin diplex with pb4, rx pin diplex with pb5 ? baud rate presetting register can adjust baud rate freely ? transmitting and receiving interr upt cooperatio n dual buffer can make sure the high speed communication stable and reduce the cpu load. 8-bit adc 8-bit ad converter is mainly used for keyboard scan or electronic volume display. it has 4 input channels (pc0/1/4/5). select a channel and input switch level by program and the result is stored in an 8-bit register. conversion clock has 4 selectable clock sources. input in ternal reference voltage through channel 6 of adc to detect the battery voltage( together with internal standard voltage) . pc4/5 can also be used to extend high frequency oscillator pin, if it is not connected to oscillator, do not effect adc input channel. adopt 75khz clock, one ad conversion needs 12 clock cycles, and the typical conversion time of adc is 160 p s. frequency counting module this module mainly includes local oscillator signal ampl ifier and gate control counting two sections. fm or am local oscillator signal is counted by a 16-bit counter afte r amplified. this counter gate control time can select 1/4/8ms, so the local oscillator fr equency can be got easily according to the counter value and gate time, then display on lcd according to application requirements. i/o port sc9308 has 5 groups of i/o ports: pa, pb, pc, pe, pf . pa has 8 pins, where 4 pins are used for external interrupt input. pb has 5 pins, where 3 pins are used for key input interrupt. pc has 4 pins which are shared with adc input channel. pe/pf are shared with seg segments, and can also be used as common io, 14 pins in total. so there are max. 31 pins can be used as io pins.
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 12 of 17 ports pa/b configured three registers. data register po rtx latches the output data, direction register trisx controls the dataflow direction (set 1 to be output). pua register and trisa register can implement input pull-up or output open-drain of port a. pb has only 5 pins, port pc of pub register is controlled by 3 registers, trisc realizes direction selection, portc st ores output data, apcon r ealizes the switch of analog channel and digital channel. register portx is readable/writable. when portx is set as output, read the last writing data of this register; when it is set as input, read the pin state. display driver lcd module can drive maximum 14 seg x 4 com lcd board. it is mainly composed of the following parts: ? control circuit ? 8 display data memory registers are all readable/writable ? 14 seg outputs ? 4 com outputs each seg can be used as common i/o port.
sc9308 chip topology hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 13 of 17
sc9308 hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 14 of 17 key pad coordinate1 (die size: 2390* 2490 unit: m) no. symbol x axis y axis no. symbol x axis y axis 1 pa0 -1198 261.76 24 fm 1198 -914.25 2 pa1 -1198 161.76 25 am 1198 -814.25 3 pa2 -1198 -15.2 26 2 avss 1198 -690.65 4 pa3 -1198 -115.2 26 avss 1198 -453.45 5 pa4 -1198 -292.16 27 com0 1198 169.88 6 pa5 -1198 -392.16 28 com1 1198 269.88 7 pa6 -1198 -596.12 29 com2 1198 369.88 8 pa7 -1198 -669.12 30 com3 1198 469.88 9 pb0 -1198 -846.08 31 seg0 1198 576.32 10 pb1 -1198 -946.08 32 seg1 1198 676.8 11 pb2 -1198 -1123.04 33 seg2 1198 777.28 12 pb4 -814.03 -1148 34 seg3 1198 877.76 13 pb5 -637.07 -1148 35 seg4 1071.97 1148 14 pc0 -537.07 -1148 36 seg5 916.58 1148 15 pc1 -360.11 -1148 37 seg6 761.19 11489 16 reset 82.82 -1148 38 seg7 605.8 1148 17 gnd 237.82 -1148 39 seg8 450.41 1148 18 x out 337.82 -1148 40 seg9 295.02 1148 19 x in 525.04 -1148 41 seg10 139.63 1148 20 v dd 625.04 -1148 42 seg11 -15.76 1148 21 pc4 735.04 -1148 43 seg12 -171.15 1148 22 pc5 912 -1148 44 seg13 -326.54 1148 23 test 1174.36 -1148 note 1: the coordinate origin is in the middle of the die. note 2: the two pads marked with 26 in above table should be bounding to one pin.
sc9308 typical application diagram hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 15 of 17
sc9308 package outline qfp-44-10x10-0.8 unit: mm mos devices operate notes: electrostatic charges may exist in many things. please ta ke following preventive measures to prevent effectively the mos electric circuit as a result of the damage which is caused by discharge: z the operator must put on wrist strap which should be earthed to against electrostatic. z equipment cases should be earthed. ? z all tools used during assembly, including soldering tools and solder baths, must be earthed. z mos devices should be packed in antistatic/conductive containers for transportation. note silan reserves the right to make changes without notice in this specification for the improvement of the design and performance . silan will supply the best possible product for customers. hangzhou microelectronics co.,ltd rev:1.1 2008.10.20 http://www.silan.com.cn page 16 of 17


▲Up To Search▲   

 
Price & Availability of SC9308P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X